package com.dao;

import com.entity.News;
import com.page.PageInfo;

import java.util.List;

public interface NewsDao {
    public List<News>  getAllNewss();
    public List<News> getNewsByPage(PageInfo pageInfo);
    public News getNewsByIdWithAnos(String nId);
}
